package cn.tannn.ops.pwd.controller.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 查看密码
 *
 * @author <a href="https://t.tannn.cn/">tan</a>
 * @version V1.0
 * @date 2025/1/7 17:06
 */
@Getter
@Setter
@ToString
@Schema(description = "查看密码")
public class ViewPass {
    /**
     * 密钥[RSA私钥]
     */
    @Schema(description = "密钥[RSA私钥]", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "密钥不允许为空")
    String secret;
}
